from zope import schema
from zope.interface import Interface

from Products.plonecrm import plonecrmMessageFactory as _


class Iorganization(Interface):
    """an organization unite"""

    # -*- schema definition goes here -*-
    newfield = schema.TextLine(
        title=_(u"register capital"),
        required=False,
        description=_(u"register capital"),
    )
#
    fax = schema.TextLine(
        title=_(u"fax number"),
        required=False,
        description=_(u"fax number"),
    )
#
    website = schema.TextLine(
        title=_(u"website"),
        required=False,
        description=_(u"the website of organization"),
    )
#
    postcode = schema.TextLine(
        title=_(u"New Field"),
        required=False,
        description=_(u"post code"),
    )
#
    business = schema.TextLine(
        title=_(u"main business"),
        required=False,
        description=_(u"this organization provided main business"),
    )
#
    type = schema.TextLine(
        title=_(u"organization type"),
        required=False,
        description=_(u"this organization's type"),
    )
#
    account = schema.TextLine(
        title=_(u"bank account"),
        required=False,
        description=_(u"bank account"),
    )
#
    master = schema.TextLine(
        title=_(u"organization legal person"),
        required=False,
        description=_(u"organization legal person or board chairman"),
    )
#
    name = schema.TextLine(
        title=_(u"organization name"),
        required=True,
        description=_(u"this organization legal regeistered name"),
    )
#
